/* EIX - IPC system
 * Copyright (C) 2008-2011 Jorge Luis Zapata
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library.
 * If not, see <http://www.gnu.org/licenses/>.
 */
#include "Eix.h"
#include "eix_private.h"
/*============================================================================*
 *                                  Local                                     *
 *============================================================================*/
#if 0
/* FIXME for later */
typedef struct _Eix_Transport_Posix
{
	Eix_Transport *t;
	Eix_Transport_Posix_Descriptor *descriptor;
	void *data;
} Eix_Transport_Posix;
/*----------------------------------------------------------------------------*
 *                          The transport interface                           *
 *----------------------------------------------------------------------------*/
/*============================================================================*
 *                                 Global                                     *
 *============================================================================*/
Eix_Transport * eix_transport_posix_socket_new(Eix_Transport_Posix_Socket_Descriptor *descriptor, void *data)
{
	/* connect */
	/* accept */
	/* bind */
}

/*============================================================================*
 *                                   API                                      *
 *============================================================================*/
EAPI int eix_transport_posix_socket_fd_get(Eix_Transport *thiz)
{
	return thiz->fd;
}
#endif

